<#include "/common/_layout.html"/>
<@layout>
<h1>Blog管理前台&nbsp;&nbsp;
</h1>
<div>
    <form action="/blog">
        标题 : <input type="text" name="seachLike_title" value="${seachLike_title!}">
        内容 : <input type="text" name="seachLike_content" value="${seachLike_content!}">
        <input type="submit" value="查询">
    </form>
</div>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="35%">标题</th>
				<th width="35%">内容</th>
			</tr>
			
			<#list blogPage.getList() as x>
			<tr>
				<td style="text-align:left;">${x.id}</td>
				<td style="text-align:left;">${x.title}</td>
				<td style="text-align:left;">${x.content}</td>
			</tr>
			</#list>
		</tbody>
	</table>
	<#include "/common/_paginate.html" />
	<@paginate currentPage=blogPage.pageNumber totalPage=blogPage.totalPage actionUrl="/blog/" />
</div>
</@layout>